#region Copyright RenGuiYou. All rights reserved.
//=====================================================
// PandoraFrameWork
// Author:      RenGuiyou
// Feedback: 	mailto:750539605@qq.com
//=====================================================
#endregion
using System.IO;
using NeatlyEditor;

namespace PandoraEditor
{
    public static class PdrCombine
    {
        public static string Prefab(string name)
        {
            return $"{name}.prefab";
        }
        public static string Prefab(string dir, string name)
        {
            return $"{dir}/{name}.prefab";
        }
        public static string PngAlpha(string name)
        {
            return $"{name}_a.png";
        }
        public static string PngAlpha(string dir, string name)
        {
            return $"{dir}/{name}_a.png";
        }
        public static string PngColor(string name)
        {
            return $"{name}_c.png";
        }
        public static string PngColor(string dir, string name)
        {
            return $"{dir}/{name}_c.png";
        }
        public static string Png(string name)
        {
            return $"{name}.png";
        }
        public static string Png(string dir, string name)
        {
            return $"{dir}/{name}.png";
        }
        public static string Material(string name)
        {
            return $"{name}_mat.mat";
        }
        public static string Material(string dir, string name)
        {
            return $"{dir}/{name}_mat.mat";
        }
        public static string BlurMaterial(string name)
        {
            return $"{name}_mat_blur.mat";
        }
        public static string BlurMaterial(string dir, string name)
        {
            return $"{dir}/{name}_mat_blur.mat";
        }
        public static string Text(string dir, string name)
        {
            return $"{dir}/{name}.txt";
        }
        public static string ProjectRoot(string path)
        {
            return Path.Combine(NeatlyEditorConfig.PATH_PROJECT, path);
        }
    }
}